import Mock from 'mockjs'

Mock.mock('/api/employees', 'get', {
    code: 200,
    message: 'success',
    data: {
        'list|10': [{
            'id|+1': 1,
            'name': '@cname',
            'employeeId': /EMP[0-9]{3}/,
            'gender|1-2': 1,
            'department': '@pick(["技术部","市场部","人力资源部"])',
            'position': '@pick(["前端工程师","HR专员","销售经理"])',
            'status|1-2': 1,
            'phone': /1[3-9]\d{9}/,
            'email': '@email',
            'hireDate': '@date("yyyy-MM-dd")'
        }],
        total: 100
    }
})

// 其他员工相关的Mock接口...